package net.cz.wc.main;


public class Context {
	
	private static final Context INSTANCE = new Context();
	
	/**
	 * Constructor must be hidden to Context be a Singleton
	 */
	private Context() { }
	
	public static Context getContext() {
		return INSTANCE;
	}
	
	public void addErrorMessage(String message) {
		Console.printMessage("[ERROR] " + message);
	}
	
	public void addSuccessMessage(String message) {
		Console.printMessage("[INFO] " + message);
	}
	
	public void addDebugMessage(String message) {
		Console.printMessage("[DEBUG] " + message);
	}
	
	public void printException(Exception exception) {
		Console.printException(exception);
	}
	
	public void print(String string) {
		Console.printMessage(string);
	}
}
